﻿package rob.data{

	public class UVCoord{
		public var u:Number, v:Number;
		
		public function UVCoord(iu:Number,iv:Number):void{
			u = iu;
			v = iv;
			if(Math.abs(u) < 0.00001) u = 0;
			if(Math.abs(v) < 0.00001) v = 0;
		}

		public function clone():UVCoord{
			return new UVCoord(u,v);
		}
		
		public function toString():String{
			return "UVCoord: ("+u+","+v+")";
		}
	}
}